onActivityResult
Deprecated
This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an ActivityResultContract and the prebuilt contracts for common intents available in androidx.activity.result.contract.ActivityResultContracts, provides hooks for testing, and allow receiving results in separate, testable classes independent from your fragment. Use registerForActivityResult with the appropriate ActivityResultContract and handling the result in the callback.
Receive the result from a previous call to startActivityForResult. This follows the related Activity API as described there in onActivityResult.
Parameters
The integer request code originally supplied to startActivityForResult(), allowing you to identify who this result came from.
The integer result code returned by the child activity through its setResult().
An Intent, which can return result data to the caller (various data can be attached to Intent "extras").